import request from '/@/utils/request'

export interface GetInFlowInput {
  startTime?: string
  endTime?: string
  supplierName?: string
  goodsOrCategory?: string
  warehouseName?: string
  operatorName?: string
  page?: number
  pageSize?: number
}

export function fetchInFlowPage(data: GetInFlowInput) {
  return request.post('/api/report/inFlow/page', data)
}

export function fetchInFlowStats(data: GetInFlowInput) {
  return request.post('/api/report/inFlow/stats', data)
}


